package data.mapper.implementation;

import data.mapper.Mapper;


/*
 * author Vincent Guigue
 */
public class LabelMapperBool2Num implements Mapper<Boolean, Integer >{
	public Integer map(Boolean from) {
		//if(from == null) return null;
		if (from)
			return 1;
		else 
			return 0;
	
	}

}
